package com.eos.control.action.activity;

import com.eos.business.service.SysActivityBusinessService;
import com.eos.control.action.base.AbstractBaseAction;
import com.eos.orm.mybatis.model.SysCombo;

public class EditSetMealAction extends AbstractBaseAction {
	private static final long serialVersionUID = 2543704541720364517L;
    private Integer setMealId;
    private SysCombo combo;
    
	public void setSetMealId(Integer setMealId) {
		this.setMealId = setMealId;
	}
	
	public SysCombo getCombo() {
		return combo;
	}

	@Override
	public String execute() {
		try {
			SysActivityBusinessService sabs = new SysActivityBusinessService();
			combo = sabs.getSysComboPrimaryKey(setMealId);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return SUCCESS;
	}
}
